package com.ruoyi.cpsp.service;

import com.ruoyi.cpsp.domain.RegulationType;
import com.ruoyi.cpsp.domain.RegulationTypeAndDetailAndTimes;

import java.util.List;
import java.util.Map;

/**
 * @author neu.xiaojiacheng
 * @version 1.0
 * @date 2022/2/23 18:40
 */
public interface RegulationTypeService {

    public boolean submitAllInfo(RegulationType regulationType);

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByName(int pageSize, int currentPage, String name);

    public int delete(int id);

    public int update(RegulationType record);

    public List<RegulationTypeAndDetailAndTimes> getTypeAndDetail(RegulationType record);

    public List<RegulationType> selectAll();
}
